package com.boarsoft.flow.core.bean;

public class SuspendNode extends BaseNode {
	/** TODO 可选项，用于实现挂起与恢复的持久化动作 */
	protected SuspendHandler handler;
	/** 必需项 */
	protected String next;

	@Override
	public int getType() {
		return BaseNode.TYPE_SUSPEND;
	}

	public SuspendHandler getHandler() {
		return handler;
	}

	public void setHandler(SuspendHandler handler) {
		this.handler = handler;
	}

	public String getNext() {
		return next;
	}

	public void setNext(String next) {
		this.next = next;
	}
}
